home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 4
/
Apprentice-Release4.iso
/
Source Code
/
C
/
Frameworks
/
Grant's CGI Framework 1.0b12
/
Util
/
compiler_stuff.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-12-09
|
643b
|
36 lines
#pragma once
/*****
*
* compiler_stuff.h
*
* Stuff to deal with particular compilers' idiosyncrasies
*
*****/
/*** CONSTANTS ***/
/* are we compiling for Symantec compilers? */
#if defined(__SC__) || defined(THINK_C)
#define kCompiling_For_Symantec 1
#else
#define kCompiling_For_Symantec 0
#endif
/* make sure that nil works as expected for Symantec compilers */
#if !defined(nil) || ( !defined(__cplusplus) && kCompiling_For_Symantec )
#ifdef nil
#undef nil
#endif
#define nil 0
#endif
/* profiler support */
#if __powerc
#define kProcessorString "PPC"
#else
#define kProcessorString "68K"
#endif
/***** EOF *****/